package com.tte.common.designpattern.builder.food;

import com.tte.common.designpattern.builder.Item;
import com.tte.common.designpattern.builder.pack.PackingInf;
import com.tte.common.designpattern.builder.pack.Wrapper;

/**
 * 食物抽象类
 */
public abstract class FoodAbstract implements Item {

    /**
     * 包装方式
     * @return
     */
    @Override
    public PackingInf packing() {
        return new Wrapper();
    }

    /**
     * 价格
     * @return
     */
    @Override
    public abstract float price();
}
